package cn.zhku.news.domain;

import java.util.Date;

public class News {
	private String nid;
	private String title;
	private String image;
	private String aid;
	private String content;
	private Date date;
	private String category;
	public String getNid() {
		return nid;
	}
	public void setNid(String nid) {
		this.nid = nid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getAid() {
		return aid;
	}
	public void setAid(String aid) {
		this.aid = aid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	@Override
	public String toString() {
		return "News [nid=" + nid + ", title=" + title + ", image=" + image + ", aid=" + aid + ", content=" + content
				+ ", date=" + date + ", category=" + category + "]";
	}

	
}
